Add a focus-within state
authorMatthias Clasen <mclasen@redhat.com>
Thu, 16 Apr 2020 05:36:13 +0000 (01:36 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 16 Apr 2020 16:31:01 +0000 (12:31 -0400)
commit54b99d281b5aaeb40b230d18ee281b57e30d48fb
tree065947c7a45689475e19b5a56af02b608286fbb7
parente83d87c20a57f1e9b3ea585e6971e118213c9ef1
Add a focus-within state

This is used for widgets that contain the focus widget,
reserving the focused state for the focus location itself.

This aligns our focus state handling with
https://www.w3.org/TR/selectors-4/
gtk/gtkcssselector.c
gtk/gtkcsstypes.c
gtk/gtkenums.h
gtk/gtkwidgetprivate.h
gtk/gtkwindow.c